package cn.zou.blog.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

import cn.zou.blog.entry.Person;
import cn.zou.blog.service.TService;

@Controller
@RequestMapping("/TController")
public class TController {
	@Autowired
	private TService tService;
	@RequestMapping("/tAdd.shtml")
	public String add(Person person,ModelMap model){
		model.addAttribute("person", person);
		return "index";
	}
}
